package liuyuyang.service;

import com.baomidou.mybatisplus.extension.service.IService;
import liuyuyang.domain.Permission;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public interface PermissionService extends IService<Permission> {
    public Boolean add(Permission permission);
    public Boolean del(Integer pid);
    public Boolean edit(Permission permission);
    public List<Permission> getRolePerm(Integer rid);
}
